const nodata = require('../tw-lib-base/no-data/props')
// const commonProps = require('../tw-lib-base/chart/common-props')
// const axisProps = require('../tw-lib-base/chart/axis-props')
// const datazoomProps = require('../tw-lib-base/chart/datazoom-props')
// const tooltipProps = require('../tw-lib-base/chart/tooltip-props')

module.exports = {
  // ...commonProps,

  // ...axisProps,
  // ...datazoomProps,
  // ...tooltipProps,

  data: {
    type: Array,
    default () {
      return [
        {
          "name": "",
          "sourcenode": "",
          "symbolSize": 150,
          "category": 0,
          "value": 900,
          "x": 0,
          "y": 0
        },
        {
          "name": "阳光指数",
          "sourcenode": "阳光指数",
          "color1": "#fff",
          "color2": "#657df5",
          "symbolSize": 70,
          "fontSize": "18",
          "category": 0,
          "value": 100,
          "x": -600,
          "y": -200
        },
        {
          "name": "发展指数",
          "sourcenode": "发展指数",
          "color1": "#fff",
          "color2": "#ffb336",
          "symbolSize": 70,
          "fontSize": "18",
          "category": 0,
          "value": 200,
          "x": 600,
          "y": -200
        },
        {
          "name": "创新指数",
          "sourcenode": "创新指数",
          "color1": "#fff",
          "color2": "#4ac7ff",
          "fontSize": "18",
          "symbolSize": 70,
          "category": 0,
          "value": 200,
          "x": -800,
          "y": 300
        },
        {
          "name": "服务指数",
          "sourcenode": "服务指数",
          "color1": "#fff",
          "color2": "#2bd3bd",
          "fontSize": "24",
          "symbolSize": 100,
          "value": 200,
          "category": 0,
          "x": 800,
          "y": 300
        },
        {
          "name": "法制度",
          "sourcenode": "阳光指数",
          "category": 1,
          "color1": "#fff",
          "color2": "#2bd3bd",
          "fontSize": "14",
          "symbolSize": 50,
          "x": -800,
          "y": -300
        },
        {
          "name": "政策度",
          "sourcenode": "阳光指数",
          "category": 1,
          "color1": "#fff",
          "color2": "#2bd3bd",
          "fontSize": "14",
          "symbolSize": 50,
          "x": -800,
          "y": -300
        },
        {
          "name": "合规度",
          "sourcenode": "阳光指数",
          "category": 1,
          "color1": "#fff",
          "color2": "#2bd3bd",
          "fontSize": "14",
          "symbolSize": 50,
          "x": -850,
          "y": -500
        },
        {
          "name": "创新度",
          "sourcenode": "创新指数",
          "category": 1,
          "color1": "#fff",
          "color2": "#2bd3bd",
          "fontSize": "14",
          "symbolSize": 50,
          "x": -850,
          "y": 450
        },
        {
          "name": "投入度",
          "sourcenode": "发展指数",
          "category": 1,
          "color1": "#fff",
          "color2": "#2bd3bd",
          "fontSize": "14",
          "symbolSize": 50,
          "x": 900,
          "y": -250
        },
        {
          "name": "规模度",
          "sourcenode": "发展指数",
          "category": 1,
          "color1": "#fff",
          "color2": "#2bd3bd",
          "fontSize": "14",
          "symbolSize": 50,
          "x": 900,
          "y": -100
        },
        {
          "name": "均衡度",
          "sourcenode": "发展指数",
          "category": 1,
          "color1": "#fff",
          "color2": "#2bd3bd",
          "fontSize": "14",
          "symbolSize": 50,
          "x": 900,
          "y": -350
        },
        {
          "name": "质量度",
          "sourcenode": "发展指数",
          "category": 1,
          "color1": "#fff",
          "color2": "#2bd3bd",
          "fontSize": "14",
          "symbolSize": 50,
          "x": 800,
          "y": -500
        },
        {
          "name": "满意度",
          "sourcenode": "服务指数",
          "category": 1,
          "color1": "#fff",
          "color2": "#2bd3bd",
          "fontSize": "14",
          "symbolSize": 50,
          "x": 900,
          "y": 500
        },
        {
          "name": "扶困度",
          "sourcenode": "服务指数",
          "category": 1,
          "color1": "#fff",
          "color2": "#2bd3bd",
          "fontSize": "14",
          "symbolSize": 50,
          "x": 1000,
          "y": 300
        },

        {
          "name": "管理机制",
          "sourcenode": "阳光指数",
          "category": 2,
          "color1": "#fff",
          "color2": "#2bd3bd",
          "fontSize": "14",
          "symbolSize": 10,
          "x": -880,
          "y": -400
        },
        {
          "name": "民主管理",
          "sourcenode": "阳光指数",
          "category": 2,
          "color1": "#fff",
          "color2": "#2bd3bd",
          "fontSize": "14",
          "symbolSize": 10,
          "x": -900,
          "y": -400
        },
        {
          "name": "政策发布",
          "sourcenode": "阳光指数",
          "category": 2,
          "color1": "#fff",
          "color2": "#2bd3bd",
          "fontSize": "14",
          "symbolSize": 10,
          "x": -980,
          "y": -440
        },
        {
          "name": "政策解读",
          "sourcenode": "阳光指数",
          "category": 2,
          "color1": "#fff",
          "color2": "#2bd3bd",
          "fontSize": "14",
          "symbolSize": 10,
          "x": -880,
          "y": -400
        },
        {
          "name": "政策咨询",
          "sourcenode": "阳光指数",
          "category": 2,
          "color1": "#fff",
          "color2": "#2bd3bd",
          "fontSize": "14",
          "symbolSize": 10,
          "x": -880,
          "y": -400
        },
        {
          "name": "教育收费",
          "sourcenode": "阳光指数",
          "category": 2,
          "color1": "#fff",
          "color2": "#2bd3bd",
          "fontSize": "14",
          "symbolSize": 10,
          "x": -880,
          "y": -400
        },
        {
          "name": "学生权益",
          "sourcenode": "阳光指数",
          "category": 2,
          "color1": "#fff",
          "color2": "#2bd3bd",
          "fontSize": "14",
          "symbolSize": 10,
          "x": -880,
          "y": -400
        },
        {
          "name": "校务管理",
          "sourcenode": "阳光指数",
          "category": 2,
          "color1": "#fff",
          "color2": "#2bd3bd",
          "fontSize": "14",
          "symbolSize": 10,
          "x": -880,
          "y": -400
        },
        {
          "name": "教师权益",
          "sourcenode": "阳光指数",
          "category": 2,
          "color1": "#fff",
          "color2": "#2bd3bd",
          "fontSize": "14",
          "symbolSize": 10,
          "x": -880,
          "y": -400
        },


        {
          "name": "教师创新",
          "sourcenode": "创新指数",
          "category": 2,
          "color1": "#fff",
          "color2": "#2bd3bd",
          "fontSize": "14",
          "symbolSize": 10,
          "x": -950,
          "y": 350
        },
        {
          "name": "学生创新",
          "sourcenode": "创新指数",
          "category": 2,
          "color1": "#fff",
          "color2": "#2bd3bd",
          "fontSize": "14",
          "symbolSize": 10,
          "x": -950,
          "y": 350
        },
        {
          "name": "经费投入",
          "sourcenode": "发展指数",
          "category": 2,
          "color1": "#fff",
          "color2": "#2bd3bd",
          "fontSize": "14",
          "symbolSize": 10,
          "x": 900,
          "y": -600
        },
        {
          "name": "学校数量",
          "sourcenode": "发展指数",
          "category": 2,
          "color1": "#fff",
          "color2": "#2bd3bd",
          "fontSize": "14",
          "symbolSize": 10,
          "x": 900,
          "y": -600
        },
        {
          "name": "毛入学率",
          "sourcenode": "发展指数",
          "category": 2,
          "color1": "#fff",
          "color2": "#2bd3bd",
          "fontSize": "14",
          "symbolSize": 10,
          "x": 900,
          "y": -600
        },
        {
          "name": "资源配置",
          "sourcenode": "发展指数",
          "category": 2,
          "color1": "#fff",
          "color2": "#2bd3bd",
          "fontSize": "14",
          "symbolSize": 10,
          "x": 900,
          "y": -600
        },
        {
          "name": "政府保障",
          "sourcenode": "发展指数",
          "category": 2,
          "color1": "#fff",
          "color2": "#2bd3bd",
          "fontSize": "14",
          "symbolSize": 10,
          "x": 900,
          "y": -600
        },
        {
          "name": "教育质量",
          "sourcenode": "发展指数",
          "category": 2,
          "color1": "#fff",
          "color2": "#2bd3bd",
          "fontSize": "14",
          "symbolSize": 10,
          "x": 900,
          "y": -600
        },
        {
          "name": "社会认可度",
          "sourcenode": "发展指数",
          "category": 2,
          "color1": "#fff",
          "color2": "#2bd3bd",
          "fontSize": "14",
          "symbolSize": 10,
          "x": 900,
          "y": -600
        },
        {
          "name": "学校发展",
          "sourcenode": "发展指数",
          "category": 2,
          "color1": "#fff",
          "color2": "#2bd3bd",
          "fontSize": "14",
          "symbolSize": 10,
          "x": 900,
          "y": -600
        },
        {
          "name": "教师发展",
          "sourcenode": "发展指数",
          "category": 2,
          "color1": "#fff",
          "color2": "#2bd3bd",
          "fontSize": "14",
          "symbolSize": 10,
          "x": 900,
          "y": -600
        },
        {
          "name": "学生成长",
          "sourcenode": "发展指数",
          "category": 2,
          "color1": "#fff",
          "color2": "#2bd3bd",
          "fontSize": "14",
          "symbolSize": 10,
          "x": 900,
          "y": -600
        },
        {
          "name": "教育满意度",
          "sourcenode": "服务指数",
          "category": 2,
          "color1": "#fff",
          "color2": "#2bd3bd",
          "fontSize": "14",
          "symbolSize": 10,
          "x": 1100,
          "y": 300
        },
        {
          "name": "扶困助学",
          "sourcenode": "服务指数",
          "category": 2,
          "color1": "#fff",
          "color2": "#2bd3bd",
          "fontSize": "14",
          "symbolSize": 10,
          "x": 1100,
          "y": 300
        }
      ]
    },
    name: '图表数据集',
    filedType: 'api'
  },
  data1: {
    type: Array,
    default () {
      return [
        {
          "name": "法制度",
          "sourcenode": "阳光指数",
          "category": 1,
          "color1": "#fff",
          "color2": "#2bd3bd",
          "fontSize": "14",
          "symbolSize": 50,
          "x": -800,
          "y": -300
        },
        {
          "name": "政策度",
          "sourcenode": "阳光指数",
          "category": 1,
          "color1": "#fff",
          "color2": "#2bd3bd",
          "fontSize": "14",
          "symbolSize": 50,
          "x": -800,
          "y": -300
        },
        {
          "name": "合规度",
          "sourcenode": "阳光指数",
          "category": 1,
          "color1": "#fff",
          "color2": "#2bd3bd",
          "fontSize": "14",
          "symbolSize": 50,
          "x": -850,
          "y": -500
        },
        {
          "name": "创新度",
          "sourcenode": "创新指数",
          "category": 1,
          "color1": "#fff",
          "color2": "#2bd3bd",
          "fontSize": "14",
          "symbolSize": 50,
          "x": -850,
          "y": 450
        },
        {
          "name": "投入度",
          "sourcenode": "发展指数",
          "category": 1,
          "color1": "#fff",
          "color2": "#2bd3bd",
          "fontSize": "14",
          "symbolSize": 50,
          "x": 900,
          "y": -250
        },
        {
          "name": "规模度",
          "sourcenode": "发展指数",
          "category": 1,
          "color1": "#fff",
          "color2": "#2bd3bd",
          "fontSize": "14",
          "symbolSize": 50,
          "x": 900,
          "y": -100
        },
        {
          "name": "均衡度",
          "sourcenode": "发展指数",
          "category": 1,
          "color1": "#fff",
          "color2": "#2bd3bd",
          "fontSize": "14",
          "symbolSize": 50,
          "x": 900,
          "y": -350
        },
        {
          "name": "质量度",
          "sourcenode": "发展指数",
          "category": 1,
          "color1": "#fff",
          "color2": "#2bd3bd",
          "fontSize": "14",
          "symbolSize": 50,
          "x": 800,
          "y": -500
        },
        {
          "name": "满意度",
          "sourcenode": "服务指数",
          "category": 1,
          "color1": "#fff",
          "color2": "#2bd3bd",
          "fontSize": "14",
          "symbolSize": 50,
          "x": 900,
          "y": 500
        },
        {
          "name": "扶困度",
          "sourcenode": "服务指数",
          "category": 1,
          "color1": "#fff",
          "color2": "#2bd3bd",
          "fontSize": "14",
          "symbolSize": 50,
          "x": 1000,
          "y": 300
        },

        {
          "name": "管理机制",
          "sourcenode": "阳光指数",
          "category": 2
        },
        {
          "name": "民主管理",
          "sourcenode": "阳光指数",
          "category": 2
        },
        {
          "name": "政策发布",
          "sourcenode": "阳光指数",
          "category": 2
        },
        {
          "name": "政策解读",
          "sourcenode": "阳光指数",
          "category": 2
        },
        {
          "name": "政策咨询",
          "sourcenode": "阳光指数",
          "category": 2
        },
        {
          "name": "教育收费",
          "sourcenode": "阳光指数",
          "category": 2
        },
        {
          "name": "学生权益",
          "sourcenode": "阳光指数",
          "category": 2
        },
        {
          "name": "校务管理",
          "sourcenode": "阳光指数",
          "category": 2
        },
        {
          "name": "教师权益",
          "sourcenode": "阳光指数",
          "category": 2
        },
        {
          "name": "教师创新",
          "sourcenode": "创新指数",
          "category": 2
        },
        {
          "name": "学生创新",
          "sourcenode": "创新指数",
          "category": 2
        },
        {
          "name": "经费投入",
          "sourcenode": "发展指数",
          "category": 2
        },
        {
          "name": "学校数量",
          "sourcenode": "发展指数",
          "category": 2
        },
        {
          "name": "毛入学率",
          "sourcenode": "发展指数",
          "category": 2
        },
        {
          "name": "资源配置",
          "sourcenode": "发展指数",
          "category": 2
        },
        {
          "name": "政府保障",
          "sourcenode": "发展指数",
          "category": 2
        },
        {
          "name": "教育质量",
          "sourcenode": "发展指数",
          "category": 2
        },
        {
          "name": "社会认可度",
          "sourcenode": "发展指数",
          "category": 2
        },
        {
          "name": "学校发展",
          "sourcenode": "发展指数",
          "category": 2
        },
        {
          "name": "教师发展",
          "sourcenode": "发展指数",
          "category": 2
        },
        {
          "name": "学生成长",
          "sourcenode": "发展指数",
          "category": 2
        },
        {
          "name": "教育满意度",
          "sourcenode": "服务指数",
          "category": 2
        },
        {
          "name": "扶困助学",
          "sourcenode": "服务指数",
          "category": 2
        }
      ]
    },
    name: '图表数据集',
    filedType: 'api'
  },
  datalink: {
    type: Array,
    default () {
      return [
        {
          "value": 1,
          "source": "阳光指数",
          "target": ""
        },
        {
          "value": 1,
          "source": "创新指数",
          "target": ""
        },
        {
          "value": 1,
          "source": "发展指数",
          "target": ""
        },
        {
          "value": 1,
          "source": "服务指数",
          "target": ""
        },
        {
          "value": 1,
          "source": "法制度",
          "target": "阳光指数"
        },
        {
          "value": 1,
          "source": "政策度",
          "target": "阳光指数"
        },
        {
          "value": 1,
          "source": "合规度",
          "target": "阳光指数"
        },
        {
          "value": 1,
          "source": "创新度",
          "target": "创新指数"
        },
        {
          "value": 1,
          "source": "投入度",
          "target": "发展指数"
        },
        {
          "value": 1,
          "source": "规模度",
          "target": "发展指数"
        },
        {
          "value": 1,
          "source": "均衡度",
          "target": "发展指数"
        },
        {
          "value": 1,
          "source": "质量度",
          "target": "发展指数"
        },
        {
          "value": 1,
          "source": "满意度",
          "target": "服务指数"
        },
        {
          "value": 1,
          "source": "扶困度",
          "target": "服务指数"
        },
        {
          "value": 1,
          "source": "管理机制",
          "target": "法制度"
        },
        {
          "value": 1,
          "source": "民主管理",
          "target": "法制度"
        },
        {
          "value": 1,
          "source": "政策发布",
          "target": "政策度"
        },
        {
          "value": 1,
          "source": "政策解读",
          "target": "政策度"
        },
        {
          "value": 1,
          "source": "政策咨询",
          "target": "政策度"
        },
        {
          "value": 1,
          "source": "教育收费",
          "target": "合规度"
        },
        {
          "value": 1,
          "source": "学生权益",
          "target": "合规度"
        },
        {
          "value": 1,
          "source": "校务管理",
          "target": "合规度"
        },
        {
          "value": 1,
          "source": "教师权益",
          "target": "合规度"
        },
        {
          "value": 1,
          "source": "教师创新",
          "target": "创新度"
        },
        {
          "value": 1,
          "source": "学生创新",
          "target": "创新度"
        },
        {
          "value": 1,
          "source": "经费投入",
          "target": "投入度"
        },
        {
          "value": 1,
          "source": "学校数量",
          "target": "规模度"
        },
        {
          "value": 1,
          "source": "毛入学率",
          "target": "规模度"
        },
        {
          "value": 1,
          "source": "资源配置",
          "target": "均衡度"
        },
        {
          "value": 1,
          "source": "政府保障",
          "target": "均衡度"
        },
        {
          "value": 1,
          "source": "教育质量",
          "target": "均衡度"
        },
        {
          "value": 1,
          "source": "社会认可度",
          "target": "均衡度"
        },
        {
          "value": 1,
          "source": "学校发展",
          "target": "质量度"
        },
        {
          "value": 1,
          "source": "教师发展",
          "target": "质量度"
        },
        {
          "value": 1,
          "source": "学生成长",
          "target": "质量度"
        },
        {
          "value": 1,
          "source": "教育满意度",
          "target": "满意度"
        },
        {
          "value": 1,
          "source": "扶困助学",
          "target": "扶困度"
        }
      ]
    },
    name: '图表数据集',
    filedType: 'api'
  },
  height: {
    type: String,
    default: '660px',
    name: '图表容器高度',
    filedType: 'string'
  },

  minSize: {
    type: Boolean,
    default: false,
    name: '小菜单',
    filedType: 'switch'
  },

  useLiandong: {
    type: Boolean,
    default: true,
    name: '启用点击事件',
    filedType: 'switch'
  },

  value: {
    type: String,
    default: '',
    name: '选中菜单标题',
    filedType: 'value',
    dataSource: {
      from: 'list',
      type: 'array',
      labelKey: 'label',
      valueKey: 'value'
    }
  },

  ...nodata

}
